export interface LoginParams {
  phone: string;
  code: string;
}

export interface LoginByCodeParams {
  code: string;
}

export interface LoginResult {
  token: string;
  user_id: number;
  user_name: string;
  avatar: string;
}

export interface userLoginParams {
  phone: string;
  password: string;
}
export interface UserLoginResult {
  access_token: string;
  token_type: string;
  expires_in: number;
}
export interface UserUserInfoResult {
  id: number;
  name: string;
  avatar: string;
  password: string;
  status: number;
  phone: number;
  type: number;
  openid_mini: string;
  created_at: string;
  updated_at: string;
  deleted_at: null;
  company_id: number;
  gender: string;
  job_status: number;
  province_id: null;
  city_id: number;
  age: number;
  political_outlook: number;
  born: number;
  email: string;
  last_education_id: number;
  last_resume_id: number;
  school: {
    id: number;
    name: string;
  };
  province: null;
  city: {
    id: number;
    name: string;
  };
};
